package com.bwie.bargain.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * 
 * @author lfw
 * @email sunlightcs@gmail.com
 * @date 2022-03-09 20:54:42
 */
@Data
@TableName("commodity_order")
public class CommodityOrderEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 砍价订单id
	 */
	@TableId
	private Long id;
	/**
	 * 用户id
	 */
	private Long userId;
	/**
	 * 商品id
	 */
	private Long goodsId;
	/**
	 * 交易数量
	 */
	private Long bargainiQuantity;
	/**
	 * 交易价格
	 */
	private BigDecimal bargainPrice;
	/**
	 * 支付状态
	 */
	private Long payFlag;
	/**
	 * 下单时间
	 */
	private Date orderTime;

}
